{% load static %}
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>文章分类</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="{% static 'background/css/font.css' %}">
    <link rel="stylesheet" href="{% static 'background/css/weadmin.css' %}">
</head>

<body>
<div class="weadmin-nav">
			<span class="layui-breadcrumb">
		        <a href="">首页</a>
		        <a href="">文章管理</a>
		        <a><cite>分类管理</cite></a>
		    </span>
    <a class="layui-btn layui-btn-sm" style="line-height:1.6em;margin-top:3px;float:right"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="weadmin-body">
<div class = "layui-row">
        <form class = "layui-form layui-col-md12 we-search">
            分类搜索：
            <div class = "layui-inline">
                <input type = "text" name = "name" placeholder = "请输入关键字" autocomplete = "off" class = "layui-input">
            </div>
            <button class = "layui-btn" lay-submit = "" lay-filter = "search"><i class = "layui-icon">&#xe615;</i>
            </button>
        </form>
    </div>
    <table class = "layui-hide" id = "articleList"></table>

    <script type = "text/html" id = "operateTpl">
        <a title = "删除" onclick = "classify_del(this,{% verbatim %}{{ d.id }}{% endverbatim %})" href = "javascript:;">
            <i class = "layui-icon">&#xe640;</i>
        </a>
    </script>
    {% csrf_token %}
</div>
<script src="{% static 'background/lib/layui/layui.js' %}" charset="utf-8"></script>
<script src="{% static '/background/js/article/classify.js' %}" type="text/javascript" charset="utf-8"></script>
</body>

</html>